package com.sanjiahantang.youjiaclient.config;

import com.sanjiahantang.youjiaclient.module.common.beans.CartGoodsBean;
import com.sanjiahantang.youjiaclient.module.common.beans.ConditionBean;
import com.sanjiahantang.youjiaclient.module.common.beans.UserBean;
import com.sanjiahantang.youjiaclient.module.common.views.impl.MainActivity;
import com.sanjiahantang.youjiaclient.module.me.scheme.beans.MeCaseOBean;
import com.sanjiahantang.youjiaclient.module.programmeprice.beans.ProgramBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by sks on 2015/9/17.
 */
public class ConfigValue {
    // 请求服务器 成功code
    public static final String Success_Code = "1";
    // 请求服务器失败code
    public static final String Error_Code = "0";

    /**
     * 商品详情页修改购物车数量发送广播
     */
    public static final String ACTION_ALTER_CARTGOODS_NUMS = MainActivity.class.getName().toString();


    /**
     * 本地请求接口地址  PC 118.31.74.29 192.168.1.120 160
     */

//    public static final String API_URL = "http://192.168.1.150:8000";

    public static boolean isDebug = false;
    public static final String API_URL = "http://39.108.130.166:8000";
    public static final String IMG_IP = "http://39.108.130.166:33300/upload/";//app中图片获取的地址，和得到的数据拼接使用
    public static final String SHARE_IP = "http://39.108.130.166:8080/";//微信分享公共的链接地址
//    public static boolean isDebug = true;
//    public static final String API_URL = "http://192.168.1.172:8000";
//    public static final String IMG_IP = "http://192.168.1.249:35000/upload/";//app中图片获取的地址，和得到的数据拼接使用
//    public static final String SHARE_IP = "http://192.168.1.172:8080/";//微信分享公共的链接地址



    //腾讯appid
    public static final String QQAPP_ID = "1104912240";
    //腾讯appkey
    public static final String QQAPP_KEY = "dWfNU8NjY99GJ2y9";
    //微信appid
    public static final String WXAPP_ID = "wxc5c85bfcc27a4e81";
    //微信appsecret
    public static final String WXAPP_SECRET = "ed27a2906ce6e5afbaeb441c0b0b4de0";
    //用户个人资料
//    public static UserInfor uInfor = null;
    //请求数据用到的key
    public static String DATA_KEY = "1";


    public static int iconFlag = 0;//用来改变购物车图片的标识，0：未选中，1：选中


    public static boolean hasRegisterReceiver = false;




    public static List<CartGoodsBean.Data> selectGoodsList=new ArrayList<>();
    //用户个人资料
    public static UserBean.Item userInfo = null;

    public static double lat = 0;
    public static double lon = 0;
    public static String city = null;
    public  static ArrayList<ConditionBean.SelectorData> dutylist=new ArrayList<>();
    public  static ArrayList<ConditionBean.SelectorData> favoritelist=new ArrayList<>();
    public static int TYPE_SELECT=0;
    public static List<ProgramBean.Data> CASEDETAILLIST=new ArrayList<>();
    public  static MeCaseOBean.PicList data;
    public static  List<MeCaseOBean.InformationListBean> info;

    public static Object param = null;
    public static long nowTime = 0L;

    public static boolean isLogoutByOtherUser = false;
    public static boolean isLocked = false;
}
